<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>耗材有效期维护</title>
  <link rel="stylesheet" href="../lib/layui-v2.3.0/layui/css/layui.css">
  <link rel="stylesheet" href="../css/index1.css">
  <script src="../../js/common/jquery.min.js"></script>
  <script src="../lib/layui-v2.3.0/layui/layui.js"></script>
  <script src="../js/common/common.js"></script>
  <script src="../js/page/consumable.js"></script>
</head>
<body>
<div class="container">
  <div class="nav">
    <span class="default">您所在的位置为：</span>
    <span class="direction" id="breadcrumb">
    </span>
  </div>
  <div class="search-container">
    <form action="">
      <div class="item">
        <label>录入时间</label>
        <input type="text" class="time readonly" readonly id="startTime" name="startTime">
        <input type="text" class="time readonly" readonly id="endTime" name="endTime">
      </div>
      <div class="item">
        <label>物品名称</label>
        <input type="text" name="goodname" id="goodname">
      </div>
      <div class="item">
        <label>状态</label>
        <select name="status" id="status">
          <option value="2">全部</option>
          <option value="0">停用</option>
          <option value="1">启用</option>
        </select>
      </div>
      <div class="item">
        <button class="layui-btn layui-btn-sm" lay-submit lay-filter="search">查询</button>
        <button class="layui-btn layui-btn-sm" id="back">返回</button>
      </div>
    </form>
  </div>
  <div class="table-wrapper">
    <table class="layui-table" id="table" lay-data="" lay-filter="tabledata">
    </table>
  </div>
</div>

<script type="text/html" id="bar0">
</script>
<script type="text/html" id="bar">
  <!--<a lay-event="detail">查看</a>
  <a lay-event="edit">编辑</a>
  <a lay-event="del">删除</a>-->
	<a lay-event="save">保存</a>
	<!--<a lay-event="edit">修改</a>-->
	<a lay-event="open">启用</a>
	<a lay-event="unopen">停用</a>
	<a lay-event="del">删除</a>
</script>
<script type="text/html" id="titleTpl">
  <div class="layui-input-inline">
    <!--<a href="#">{{d.LAY_INDEX}}</a>-->
    <select class="table-select layui-form test"  lay-ignore onchange="getindex('{{d.LAY_INDEX}}',this.value)">
      <option value="0">请选择时间</option>
      <option value="1" {{d.WarnValue=='1'?'selected=""selected"':''}}>1个月</option>
      <option value="2" {{d.WarnValue=='2'?'selected=""selected"':''}}>2个月</option>
      <option value="3" {{d.WarnValue=='3'?'selected=""selected"':''}}>3个月</option>
	  <option value="4" {{d.WarnValue=='4'?'selected=""selected"':''}}>4个月</option>
	  <option value="5" {{d.WarnValue=='5'?'selected=""selected"':''}}>5个月</option>
  	  <option value="6" {{d.WarnValue=='6'?'selected=""selected"':''}}>6个月</option>
	  <option value="9" {{d.WarnValue=='9'?'selected=""selected"':''}}>9个月</option>
	  <option value="12" {{d.WarnValue=='12'?'selected=""selected"':''}}>12个月</option>
    </select>
  </div>
</script>
<script type="text/html" id="input">
  <input class="layui-input" style="width:80px;" type="text" id="showdialog">
</script>
</body>
</html>